import services.interfaces.CityTaxAdapter;
import services.interfaces.CountyTaxAdapter;
import junit.framework.TestCase;


public class CountyTaxAdapterTest extends TestCase {

	private CountyTaxAdapter county;
	
	protected void setUp(){
		county = new CountyTaxAdapter();
	}
	
	protected void tearDown(){
		county = null;
	}
	
	public void testGetTaxes(){
		setUp();
		double input = 10;
		double expected = input + input*0.07;
		assertEquals(expected, county.getTaxes(input));
		tearDown();
	}
}
